package com.cskaoyan.bean.vo;

import com.cskaoyan.bean.MarketGoods;
import com.cskaoyan.bean.MarketGoodsAttribute;
import com.cskaoyan.bean.MarketGoodsProduct;
import com.cskaoyan.bean.MarketGoodsSpecification;
import lombok.Data;

import java.util.HashMap;

/**
 * @author stone
 * @date 2023/03/20 09:37
 */
@Data
public class GoodsVo {

    public GoodsVo() {
    }
    public GoodsVo(MarketGoods goods, MarketGoodsSpecification[] specifications, MarketGoodsAttribute[] attributes, MarketGoodsProduct[] products) {
        this.goods = goods;
        this.specifications = specifications;
        this.attributes = attributes;
        this.products = products;
    }

    public GoodsVo(int[] categoryIds, MarketGoods goods, MarketGoodsSpecification[] specifications, MarketGoodsAttribute[] attributes, MarketGoodsProduct[] products) {
        this.categoryIds = categoryIds;
        this.goods = goods;
        this.specifications = specifications;
        this.attributes = attributes;
        this.products = products;
    }

    int[] categoryIds;//你可以不要，但我得给
    MarketGoods goods;
    MarketGoodsSpecification[] specifications;
    MarketGoodsAttribute[] attributes;
    MarketGoodsProduct[] products;

}
